<!-- This is a work around a bug in 0.6 --> 
<g:if test="${bean}">
	<g:hasErrors bean="${bean}">
	<div class="errors">
    	<g:renderErrors bean="${bean}" as="list" />
	</div>
	</g:hasErrors>
</g:if>